baubs git
Commit f05aa8d5a33555f022c6fd9cf258238e82d2a003
Parents : 27d84aa
Author : Jan-Henrik Bruhn <hi@jhbruhn.de>
Date : 2025-12-07T23:11:28+01:00
Fix release asset upload to support glob patterns
Remove duplicate upload step using actions/upload-release-asset@v1
which doesn't support wildcards. Keep only the gh CLI upload which
properly handles multiple files.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Changes
Diff
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 19c2e0c..c15af91 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -55,18 +55,7 @@ jobs:
- name: Package and make
run: npm run make
- - name: Upload Windows release assets
- if: matrix.os == 'windows-latest'
- uses: actions/upload-release-asset@v1
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- with:
- upload_url: https://uploads.github.com/repos/${{ github.repository }}/releases/${{ needs.draft-release.outputs.release-id }}/assets
- asset_path: out/make/squirrel.windows/x64/*.exe
- asset_name: SKiTCH-Controller-${{ needs.draft-release.outputs.version }}-Setup.exe
- asset_content_type: application/octet-stream
-
- - name: Upload all Windows assets
+ - name: Upload Windows assets
if: matrix.os == 'windows-latest'
run: |
for file in out/make/squirrel.windows/x64/*; do
Served by rngit 1.3.3 - Generated in 0.09s